home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 4 / developer source - volume 4.iso / msysj / oct94 / pros13.gif < prev    next >
Graphics Interchange Format  |  1996-06-12  |  92KB  |  721x374  |  4-bit (16 colors)
Labels: text | screenshot | font | rectangle | parallel
OCR: 1 WM CREATE WM CREATE Get the DC handle ( GetDC) Get the DC handle (GetDC) Create the RC (welCreateContext) Create the RC (welCreateContext) Release the DC handle (ReleaseDC) Make the RC current ( we MakeCurrent) WM PAINT Get the DC handle (BeginPaint) WM PAINT Message Make the RC current (wgiMakeCurrent) Message Loop Draw with OpenGL Loop Draw with OpenGL Make the RC not current (we MakeCurrent) Release the DC (EndPaint) WM DESTROY WM DESTROY Delete the RC (wg DeleteContext) Make the RC not current (we MakeCurrent) Delete the RC [ wglDeleteContext) Release the DC handle (ReleaseDC) Figure 3 Two Approaches to Managing Device Contexts and Rendering Contexts